package com.ymatou.messageroute.api.parameter;

public class MessageToolTaskBean {
	/**
	 * 工具类型
	 */
	int MessageTool;

	public int getMessageTool() {
		return MessageTool;
	}

	public void setMessageTool(int value) {
		MessageTool = value;
	}

	/**
	 * 目标地址
	 */
	String UserMessageAdress;

	public final String getUserMessageAdress() {
		return UserMessageAdress;
	}

	public final void setUserMessageAdress(String value) {
		UserMessageAdress = value;
	}

	/**
	 * 消息标题，用于邮件，IM
	 */
	String MessageTitle;

	public final String getMessageTitle() {
		return MessageTitle;
	}

	public final void setMessageTitle(String value) {
		MessageTitle = value;
	}

	/**
	 * 消息体，序列化之后
	 */
	String MessageBody;

	public final String getMessageBody() {
		return MessageBody;
	}

	public final void setMessageBody(String value) {
		MessageBody = value;
	}

	/**
	 * IM大号ID
	 */
	int ImNotifyUserId;

	public final int getImNotifyUserId() {
		return ImNotifyUserId;
	}

	public final void setImNotifyUserId(int value) {
		ImNotifyUserId = value;
	}

	/**
	 * IM消息过期时间
	 */
	String MessageExpireTime;

	public final String getMessageExpireTime() {
		return MessageExpireTime;
	}

	public final void setMessageExpireTime(String value) {
		MessageExpireTime = value;
	}

	/**
	 * 上次执行时间
	 */
	String LastExcutedTime;

	public final String getLastExcutedTime() {
		return LastExcutedTime;
	}

	public final void setLastExcutedTime(String value) {
		LastExcutedTime = value;
	}

	/**
	 * 是否成功
	 */
	boolean Success;

	public final boolean getSuccess() {
		return Success;
	}

	public final void setSuccess(boolean value) {
		Success = value;
	}

	private String WeixinTemplateId;

	private String Url;

	public String getWeixinTemplateId() {
		return WeixinTemplateId;
	}

	public void setWeixinTemplateId(String weixinTemplateId) {
		WeixinTemplateId = weixinTemplateId;
	}

	public String getUrl() {
		return Url;
	}

	public void setUrl(String url) {
		Url = url;
	}

	// public static void main(String []args){
	// Logger.debug(new MessageToolTaskBean().getMessageTool());
	// }
	/*	@Override
		public int compareTo(Object o) {
			MessageToolTaskBean mtt = (MessageToolTaskBean) o;
			// TODO Auto-generated method stub
			int mt = mtt.getMessageTool();
			if (mt > this.MessageTool) {
				return -1;
			} else if (mt == this.MessageTool) {
				return 0;
			} else {
				return 1;
			}
		}*/
}
